package com.yj.springbootmybatis.service;

import com.yj.springbootmybatis.pojo.User;
import com.yj.springbootmybatis.pojo.bo.UserBo;

public interface UserService {

    /**
     * 判断用户名是否存在
     * @param username
     * @return
     */
    boolean queryUsernameIsExist(String username);

    User createUser(UserBo userBo);


    User queryForUserLogin(String username,String password);

}
